Ext.define('Admin.view.waterDispath.WaterIntakeBaseController', {
  extend: 'Ext.app.ViewController',
  alias: 'controller.waterIntakeBaseController',

  init: function() {
    // Ext.Ajax.request({
    //   url: "test.json"
    // })
  },

  //steps下一步
  check: function() {
    var wintGrid = this.lookupReference('wintGrid');
    var store  = wintGrid.getStore();
    var newproNm = this.lookupReference('newproNm').getValue();

    store.getProxy().extraParams = {river:config.RIVER,newproNm: newproNm};
    console.log(store.getProxy().extraParams)
    store.reload();
  }

})
